package com.eascs.ticket.configuration.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * The persistent class for the ticket_type database table.
 * 
 */
@Entity
@Table(name = "ticket_type")
@NamedQuery(name = "TicketType.findAll", query = "SELECT t FROM TicketType t")
public class TicketType extends com.eascs.ticket.common.entity.InsertEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	@Column(name = "can_sub")
	private String canSub;

	private String code;

	private String comments;

	private String name;

	@Column(name = "order_code")
	private Integer orderCode;

	private String type;

	public TicketType() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCanSub() {
		return this.canSub;
	}

	public void setCanSub(String canSub) {
		this.canSub = canSub;
	}

	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getOrderCode() {
		return this.orderCode;
	}

	public void setOrderCode(Integer orderCode) {
		this.orderCode = orderCode;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

}